﻿<UserControl x:Class="SmartSpace.UI.Silverlight.Dynamic.Windows.Controls.WfHistoryPart"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="100" d:DesignWidth="400"
    MinHeight="100">

    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid Grid.Column="0">
            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                <TextBlock Name="_ctlTxtYear" Grid.Row="0" Grid.RowSpan="2" Text="2012年" VerticalAlignment="Center"  HorizontalAlignment="Center" Foreground="Black"/>
                <TextBlock Name="_ctlTxtDate" Grid.Row="0" Grid.RowSpan="2" Text="12月12日" VerticalAlignment="Center"  HorizontalAlignment="Center" Foreground="Black"/>
            </StackPanel>
        </Grid>
        <Grid Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Border Name="_ctlLineUp" Grid.Row="0" Width="10" BorderBrush="gray" BorderThickness="0" CornerRadius="0" VerticalAlignment="Stretch" Background="#FF979db5">
                <Border.Effect>
                    <BlurEffect Radius="2"/>
                </Border.Effect>
            </Border>
            <Border Name="_ctlLineDown" Grid.Row="1" Width="10" BorderBrush="gray" BorderThickness="0" CornerRadius="0" VerticalAlignment="Stretch"  Background="#FF979db5">
                <Border.Effect>
                    <BlurEffect Radius="2"/>
                </Border.Effect>
            </Border>
            <Border  Grid.Row="0" Grid.RowSpan="2" Width="56" Height="56" BorderBrush="gray" BorderThickness="0" CornerRadius="28"  Background="#FF979db5">
                <Border.Effect>
                    <BlurEffect Radius="2"/>
                </Border.Effect>
            </Border>
            <Border  Grid.Row="0" Grid.RowSpan="2" Width="40" Height="40" BorderBrush="red" BorderThickness="0" CornerRadius="20" Background="#FF716d80"/>
        </Grid>
        <Grid Grid.Column="2">
            <StackPanel Orientation="Horizontal">
                <TextBlock Name="_ctlTxtSender" Grid.Row="0" Grid.RowSpan="2" Text="处长" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="Black" Margin="10,0,0,0"/>
                <TextBlock Name="_ctlTxtEvent" Grid.Row="0" Grid.RowSpan="2" Text="下发" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="Black" Margin="10,0,0,0"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
